using NHibernate.Cfg;

namespace App.Persistencia
{
    public static class PersistenciaConfig
    {
        private static NHibernate.Cfg.Configuration _defaultConfig;

        public static NHibernate.Cfg.Configuration DefaultConfiguration
        {
            get
            {
                if (null == _defaultConfig)
                    _defaultConfig = new Configuration().Configure();
                return _defaultConfig;
            }
            set
            {
                _defaultConfig = value;
            }
        }


    }
}